home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 1996 #6
/
Amiga Plus CD - 1996 - No. 06.iso
/
pd
/
texte
/
texfontinst
/
contrib
/
zd
/
00readme
< prev
next >
Wrap
Text File
|
1996-07-30
|
8KB
|
177 lines
%%% text-file: 00readme
%%% version: 1.0
%%% date: 94/08/17
%%% author: Constantin Kahn <kahn@math.uni-hannover.de>
%%% address: Institut f\"ur Mathematik (C), Universit\"at Hannover,
%%% Welfengarten 1, 30167 Hannover, Germany
%%% abstract: This text file describes the zd* fonts. The 'zd' fonts
%%% are virtual T1 encoded Computer Modern fonts based on
%%% `cm' fonts and certain PostScript fonts.
INTRODUCTION
------------
This file describes release version 1.0 of the `zd' fonts.
The `zd' fonts are the result of a (personal) project directed at creating
`fake dc fonts' based on existing Computer Modern (`cm') fonts. This is
achieved using Alan Jeffrey's fontinst program. The generated `zd' fonts
are based on corresponding `cm' fonts with certain glyphs taken from other
`cm' text fonts, from `cm' symbol fonts, and from appropriate PostScript
fonts (from the Times and Helvetica families which are built into almost
every PostScript printer).
(The background: I have been using PostScript Computer Modern fonts with
Textures on the Macintosh for years and I wanted to take advantage of the
T1 encoding supported in LaTeX2e without having to revert to bitmap fonts.)
There are `zd' font series defined for all the corresponding `cm' resp. `dc'
font series. The fonts are named according to the same conventions as used
for Computer Modern resp. `dc' fonts, e.g., `zdbx10' is a T1-encoded Computer
Modern font which can be used to replace `dcbx10' and which is based on
`cmbx10' as the main text font (i.e., used for the latin glyphs).
There are `zd' fonts generated by this package for all design sizes for
which corresponding `cm' fonts exist. (Note that in many series of the `dc'
fonts there are more design sizes present than in the corresponding `zd'
fonts which must inherit the shortcomings of the `cm' fonts in this area.)
REQUIREMENTS
------------
A TeX with a large enough memory model to run the enclosed fontinst programs,
a driver with virtual fonts capabilities, and a complete Computer Modern
fonts installation are obvious requirements.
In addition, PostScript Times and Helvetica font families must be available
since guillemots and ogonek accents are taken from PostScript fonts. These
fonts must be known to TeX according to Karl Berry's naming conventions used
by psnfss2e (e.g., AdobeStandard-encoded Times Roman is `ptmr0', and so on).
Furthermore, best results can be achieved if the driver is capable of
creating artificially slanted versions of certain `cm' fonts. This should be
the case if the `cm' fonts are available as PostScript fonts and if the
driver can use PostScript fonts.
Otherwise, several artificially slanted versions of cm fonts created by the
`fontzd0.tex' program must be replaced by original, unslanted versions of
the same fonts. This will lead to less satisfactory results yet (in most
cases) acceptable results. (E.g., in this case slanted or italic fonts would
contain upright curly braces.)
GENERATING THE FONTS
--------------------
There are five `fontinst' programs included in this package which should be
run in sequence. (The whole job has been split into five separate jobs in
order to save some memory.) Installation instructions:
(0) Before you start the `fontinst' programs make sure that you have .pl
files of *all* Computer Modern fonts. Furthermore, .pl files must be
available for all `dc' fonts for which corresponding `cm' fonts of the
same design size exist. (If in doubt, generate .pl files for *all*
`dc' fonts.)
Make sure that the .pl files contain appropriate CODINGSCHEME
properties. (I have seen .pl files without, so you may want to check.)
In addition, .afm (or .pl or .mtx) files for Times and Helvetica fonts
(including bold and/or slanted/italic versions) are required.
(1) Run fontzd0.tex - this file generates the metrics of the artificially
slanted cm fonts used in the zd fonts. The fonts to which slants are
applied are: cmsy10, cmbsy10, cmmi10, cmmib10, cmvtt10, and cmbxti10.
This file must be run first even if slanted cm fonts are not available!
(The generated file `dummy.vpl' is useless and can be deleted.)
(2) Run fontzdr.tex - this file generates the .vpl and .fd files for the
roman zd fonts.
(3) Run fontzds.tex - this file generates the .vpl and .fd files for the
sans serif zd fonts.
(4) Run fontzdt.tex - this file generates the .vpl and .fd files for the
typewriter zd fonts.
(5) Run fontzdx.tex - this file generates the .vpl and .fd files for certain
`extra' fonts (dunhill, funny roman, fibonacci).
INSTALLING THE FONTS
--------------------
There are several steps required (please refer for installation details to
the documentation that came with the driver you are using):
(1) Make the artificially slanted versions of certain cm fonts known to your
driver. This applies to the following fonts:
cmsy10o: cmsy10, slant 0.167
cmbsy10o: cmbsy10, slant 0.167
cmmi10o: cmmi10, slant 0.167
cmmib10o: cmmib10, slant 0.167
cmvtt10o: cmvtt10, slant 0.167
cmbxi10f: cmbxti10, slant -0.25 (a backwards slant)
Alternatively (if your driver cannot slant these fonts):
Make the same six fonts identical to the unslanted fonts cmsy10,
cmbsy10, cmmi10, cmmib10, cmvtt10, and cmbxti10.
(2) Make the fonts cmsy10o, cmbsy10o, cmmi10o, cmmib10o, cmvtt10o, and
cmbxi10f known to TeX. (Usually, this is done by turning the .pl files
generated by fontzd0.tex into .tfm files using the `pltotf' program.)
(3) Turn the .vpl files for the `zd' fonts generated by `fontzdr.tex',
`fontzds.tex', `fontzdt.tex', and `fontzdx.tex' into virtual fonts which
TeX and the driver can use. (Usually, this is done by converting the
.vpl files to .tfm and .vf files using the `vptovf' program.)
(4) Copy the generated .fd files to a directory where TeX can find them.
These files replace certain .fd files from the standard LaTeX2e
distribution which have identical names (those files in the standard
distribution refer to `dc' fonts rather than to `zd' fonts).
If you don't want to lose your changes when you upgrade LaTeX you should
also store backup copies of these .fd files in a safe place.
(5) Recompile the LaTeX format. (Usually, `T1cmr.fd' is read in when a
LaTeX2e format is being generated, so a new format must be generated
in order to include the new .fd files added in step (4) above.)
KNOWN PROBLEMS / TO DO
----------------------
(1) With TrueType versions of Times and Helvetica fonts the positioning of
`ogonek' accents is completely wrong (on a Macintosh at least). This
looks like a bug in Apple's TrueType fonts (?); the zd fonts have been
optimized for PostScript output (and should be portable as such).
(2) If you want to use these fonts with Textures on a Macintosh make sure
that you have the latest versions of `EdMetrics' and `Textures'. (Older
versions may cause problems when instaling and when using the fonts.)
(3) Think again about installations which cannot support slanted cm fonts.
The main problem are the f-ligatures in slanted or italic typewriter
fonts. Presently, these are taken from an artificially slanted cmvtt10
font which yields glyphs *very* close to those in slanted or italic
typewriter dc fonts. If the driver cannot slant cmvtt10 the resulting
f-ligatures will be useless. (Is this really worth the bother?)
(4) Maybe start another campaign for fine tuning parameters for the placement
of accents and such. (The stuff which is defined in the xzd*.mtx files).
This would be the third one. I *hate* recalling the first two.
(5) Create a fontinst program which installs fakes of the `dc' fonts based on
`zd' fonts, i.e., the generated fonts should be named `dc*' and should
contain glyphs from corresponding `zd' fonts (scaled where necessary) with
glyph dimensions copied over identically from the `dc' fonts, and with
sidebearings added where appropriate.
=== end of file 00readme ===